<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
    <title>Add record &middot; Kursadarbs</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
<link href="/j2kursad/resources/css/bootstrap.css" rel="stylesheet">
<link href="/j2kursad/resources/css/bootstrap-responsive.css" rel="stylesheet">
  </head>
<body>

<div class="container">
<div class="page-header">
  <h1>Kursadarbs</h1>
</div>
<c:url var="saveUrl" value="/krams/main/record/add" />
	<form id="warehouseAttribute" action="/j2kursad/karlis/record/add" method="POST">
	  <fieldset>
		<legend>Add new record</legend>
		<p>
		<label>Name</label>
		<input id="name" name="name" type="text" />
		</p>
		<p>
		<label>Address</label>
		<input id="address" name="address" type="text" />
		</p>
		<p>
		<label>Phone</label>
		<input id="manager" name="manager" type="text" />
		</p>
		<div class="btn-group">
		<button class="btn" type="submit" value="Save" >Save</button>
 		<button class="btn" type="button" name="cancel" value="Cancel" onClick="window.location='http://localhost:8081/j2kursad/karlis/record/list';">Cancel</button>
	  </div>
	  </fieldset>
	</form>
</div>


</body>
</html>